package com.itheima.sh.config;

import feign.Logger;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableFeignClients(basePackages = "com.itheima.sh.clients")    //搬家到这儿
public class feignConfig {
    @Bean
    Logger.Level feignLoggerLevel() {   //导包 是 feign.Logger
        return Logger.Level.BASIC;   //日志，四种级别。
    }
}
